<?php /* Smarty version 2.6.18, created on 2009-05-22 05:34:41
         compiled from default/market_list.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'ul_get_offer', 'default/market_list.html', 83, false),array('modifier', 'replace', 'default/market_list.html', 191, false),array('modifier', 'date_format', 'default/market_list.html', 192, false),array('modifier', 'default', 'default/market_list.html', 192, false),array('modifier', 'truncate', 'default/market_list.html', 199, false),array('modifier', 'strip_tags', 'default/market_list.html', 199, false),)), $this); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<meta name="Author" content="stevenchow811@163.com">
<meta name="generator" content="<?php echo $this->_tpl_vars['UaVersion']; ?>
" />
<title><?php echo $this->_tpl_vars['pageTitle']; ?>
</title>
<meta name ="keywords" content="<?php echo $this->_tpl_vars['sitename']; ?>
">
<meta name="description" content="您正在查找<?php echo $this->_tpl_vars['AreaName']; ?>
的市场库"> 
<link href="<?php echo $this->_tpl_vars['INC_PATH']; ?>
css/style.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><!-- a*d position --></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="25" bgcolor="#F3F4F8">&nbsp;<img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/star.gif" width="15" height="13" align="absmiddle"> 您当前位置：<?php echo $this->_tpl_vars['pagePosition']; ?>
</td>
  </tr>
  <tr>
    <td height="5"></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="center" valign="top">
    <td width="180" class="corhui"> 
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center">
		  <table cellSpacing=0 cellPadding=0 width="100%" border=0>
              <tbody>
                <tr> 
                  <td>
				  <table height=30 cellSpacing=0 cellPadding=0 width=240 
                  background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/pro_title01.gif" 
                  border=0>
                      <tbody>
                        <tr> 
                          <td width=190 height="18" class=font12white>&nbsp;<strong>&nbsp;市场行业分类</strong></td>
                          <td width=50><a href="#"><img height=20 alt="" src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/pro_title02.gif" 
                        width=41 border=0></a></td>
                        </tr>
                      </tbody>
                    </table>
					</td>
                </tr>
                <tr> 
                  <td class=td_01 vAlign=top height=200>
				  <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/market_industry.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
				  </td>
                </tr>
              </tbody>
            </table>
			</td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>
		  <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td>
			  <table width="100%" height="28" border="0" cellpadding="0" cellspacing="1" class="font12white">
                  <tr>
                      <td width="75%" class="coryellow"><strong> &nbsp;相关最新供求</strong></td>
                  </tr>
              </table>
			  </td>
            </tr>
            <tr>
              <td align="center">
			  <table width="100%"  border="0" cellspacing="2" cellpadding="3">
                <tr>
					<?php echo smarty_function_ul_get_offer(array(), $this);?>

                </tr>
              </table>
			  </td>
            </tr>
          </table>
		  </td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
    </table>
	</td>
    <td>
	<table width="96%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td valign="top">
		  <table width="100%" height="34" border="0" cellpadding="0" cellspacing="0" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/bt_bg2.gif">
              <tr> 
                <td width="23%" align="center"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/search_old.gif" width="105" height="34"></td>
                <td width="77%">
				<table width="100%" border="0" cellspacing="3" cellpadding="2">
                    <tr> 
                      <form action="<?php echo $_SERVER['PHP_SELF']; ?>
" name="market_search_frm" method="get">
                        <td width="34%" align="center"><input name="market[keyword]" type="text" size="23"> 
                        </td>
                        <td width="19%">
						<select name="type_id">
                            <option value="1">网上市场</option>
                            <option value="2">市场库</option>
                            <option value="3">商铺商品</option>
                          </select></td>
                        <td width="22%"><input type="submit" name="search" value="快速搜索"></td>
                      </form>
                    </tr>
                  </table>
				  </td>
              </tr>
            </table>
			</td>
        </tr>
          <?php if ($this->_tpl_vars['SubAreas']): ?>
        <tr> 
          <td height="88">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="center" height=3></td>
              </tr>
              <tr> 
                <td align="center">
				<table width="85%" border="0" align="center" cellpadding="3" cellspacing="5">
                    <tr> 
                      <td height="6">
					  <table width="160" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td width="11"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/bt_bg1a.gif" width="11" height="24"></td>
                            <td width="138" align="center" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/bt_bg1c.gif"><strong><?php echo $this->_tpl_vars['ProvinceName']; ?>
</strong></td>
                            <td width="11"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/bt_bg1b.gif" width="11" height="24"></td>
                          </tr>
                        </table>
						</td>
                    </tr>
                    <tr> 
                      <td style="line-height: 220%;">
					  <?php $_from = $this->_tpl_vars['SubAreas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['sub_area'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['sub_area']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['a']):
        $this->_foreach['sub_area']['iteration']++;
?>&nbsp;·&nbsp;<a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
market/list.php?filter=city,id,<?php echo $this->_tpl_vars['a']['id']; ?>
"><?php echo $this->_tpl_vars['a']['name']; ?>
</a>
					  <?php if (!($this->_foreach['sub_area']['iteration'] % 4)): ?></br><?php endif; ?>
					  <?php endforeach; else: ?>
					  <div align="center" style="display:none">目前没有任何数据</div>
					  <?php endif; unset($_from); ?>
						</td>
                    </tr>
                  </table></td>
              </tr>
            </table>
			</td>
        </tr>
        <?php endif; ?>           
        <tr> 
          <td>
		  <table width="100%" height="34" border="0" cellpadding="0" cellspacing="0" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/bt_bg2.gif">
              <tr> 
                <td>
				<table width="492" border="0" cellspacing="3" cellpadding="0">
                    <tr> 
                      <td width="5" class="text1">&nbsp;</td>
                      <td width="300" class="text1"> <strong>〖 <font color="#FF6600">市场库大全</font> 
                        〗市场:&nbsp;&nbsp;<font color="#FF6600"><?php echo $this->_tpl_vars['AreaName']; ?>
</font></strong></td>
                      <td width="169" class="text1" align="right"></td>
                    </tr>
                  </table>
				  </td>
              </tr>
            </table>
			</td>
        </tr>
        <tr> 
          <td>
          <?php if ($this->_tpl_vars['AreaMarkets']): ?>
		  <table width="100%" border="0" cellspacing="8" cellpadding="0">
			  <!-- market -->
			  <?php $_from = $this->_tpl_vars['AreaMarkets']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['sub_markets'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['sub_markets']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['m']):
        $this->_foreach['sub_markets']['iteration']++;
?>
              <tr valign="top"> 
                <td height="18">
				<table width="476" border="0" cellspacing="2" cellpadding="2">
                    <tr bgcolor="F3F3F3"> 
                      <td colspan="2">
					  <table width="100%" border="0" cellspacing="0" cellpadding="2">
                          <tr> 
                            <td width="83%"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/dot5.gif"><?php echo ((is_array($_tmp=$this->_tpl_vars['m']['MarketName'])) ? $this->_run_mod_handler('replace', true, $_tmp, $this->_tpl_vars['SearchKey'], $this->_tpl_vars['ReplaceKey']) : smarty_modifier_replace($_tmp, $this->_tpl_vars['SearchKey'], $this->_tpl_vars['ReplaceKey'])); ?>

                              (<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['m']['MarketCreated'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")))) ? $this->_run_mod_handler('default', true, $_tmp, "0000-00-00") : smarty_modifier_default($_tmp, "0000-00-00")); ?>
)</td>
                            <td width="17%">[ <a href="./detail.php?id=<?php echo $this->_tpl_vars['m']['MarketId']; ?>
" class="link2">查看</a>]</td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td width="1">&nbsp;</td>
                      <td width="461" class="lh15"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['m']['MarketContent'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 50) : smarty_modifier_truncate($_tmp, 50)))) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)); ?>
</td>
                    </tr>
                    <tr class="lh15"> 
                      <td>&nbsp;</td>
                      <td>[<a href="./detail.php?id=<?php echo $this->_tpl_vars['m']['MarketId']; ?>
" class="link2">详细信息</a>]</td>
                    </tr>
                  </table>
				  </td>
              </tr>
			  <?php endforeach; endif; unset($_from); ?>
			  <!-- market -->
              <tr valign="top"> 
                <td height="18">
				<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="CCF4B9">
                    <tr> 
                      <td width="72%" align="center">如果您确认不存在您的市场，请直接点击告诉我们</td>
                      <td width="28%" align="center"><a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
market/add.php">补充市场</a></td>
                    </tr>
                  </table>
				  </td>
              </tr>
              <tr valign="top"> 
                <td height="18" align="center"><table align="center" width="100%">
                      <tr> 
                        <td class=link3><div align="center"><?php echo $this->_tpl_vars['ByPages']; ?>
</div></td>
                      </tr>
                  </table>
				  </td>
              </tr>
            </table>
          <?php else: ?>
          <div align="center"><h2>该分类下还没有任何市场,是否<a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
market/add.php">补充市场</a>?</h2></div>
          <?php endif; ?>
		  </td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
        </tr>
      </table>
	  </td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.foot.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
</body>
</html>